package com.ddpt.platform.common.export.vo.user;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserGroupVo extends QueryDataVo {
    /**
     * 分组id
     */
    @Export(value = "分组id", isStr = true)
    private Long categoryId;

    /**
     * 客群名
     */
    @Export(value = "客群名")
    private String name;

    /**
     * 同步状态 0-未同步 -1-正在同步中 1-已同步
     */
    @Export(value = "同步状态", key = {"0", "1", "2"}, val = {"未同步", "正在同步中", "已同步"})
    private Integer syncStatus;

    //客群用户拉取方式 0-本地拉取  1-远程拉取 2-远程推送
    @Export(value = "客群用户拉取方式", key = {"0", "1", "2"}, val = {"本地拉取", "远程拉取", "远程推送"})
    private Integer fetchType;

    //备注
    @Export(value = "备注")
    private String remark;

    //0-静态客群 1-动态客群
    @Export(value = "客群属性", key = {"0", "1"}, val = {"静态客群", "动态客群"})
    private Integer type;

    //js表达式，用来处理判断
    @Export(value = "js表达式")
    private String conditionalExpression;

    /**
     * 表达式原始数据，json格式
     */
    @Export(value = "表达式原始数据")
    private String conditionalOriginal;
}
